#ifndef CWINDOWX_H
#define CWINDOWX_H

#include "control/cknxcontrol.h"

class CWindowx : public CKnxControl
{
    Q_OBJECT
public:
    explicit CWindowx(QObject *parent = 0);

    void parseExp(QString exp);
    void setKnxObject(void *xOBJECT);
    void execKnxAction(QString action,QString value);
    void readKnxAction();

    QString valueCheck(QString action,QString value);
    QString actionFromStatus(QString address,QString value);

    void execDeviceAction(QString action,QString value,QString unit);
private:

    QStringList _sendArray,_sendPauseArray;

    QString _feedbackDimAddress;
    DATA_TYPE _feedbackDimType;
    DATA_DEFINE _feedbackDimDefine;

};

#endif // CWINDOW_H
